class calculator{

public static int add(int num1,int num2)
{
int sum = num1+num2;
return sum;
}
public static double max(double num1,double num2)
{
if(num1>num2)
return num1;
else
return num2;
}
public static int[] generateFibonacci(int num){
int[] fib = new int[num];
fib[0]=0;
fib[1]=1;
for(int i=2;i<fib.length;i++)
{
fib[i] = fib[i-1]+fib[i-2];
}
return fib;
}
public static boolean isEven( int num)
{
if(num%2 == 0)
return true;
else
return false;
}
}
public static
class test{
public static void main(String[] args)
{
//double result = calculator.max(50,60)//
//System.out.println(result)//

//int result = calculator.add(9,10)//
//System.out.println(result)//
int[] result = calculator.generateFibonacci(10);
for(int i=0;i<result.length;i++)
System.out.println(result[i]);
//boolean result = calculator.isEven(10);//
//System.out.println(result);//
}
} 
